package com.erms.lab.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.erms.common.annotation.Excel;
import com.erms.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 承办竞赛情况对象 sys_competition
 * 
 * @author guo
 * @date 2020-03-22
 */
public class SysCompetition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long comId;

    /** 竞赛名称 */
    @Excel(name = "竞赛名称")
    private String comName;

    /** 参赛人数 */
    @Excel(name = "参赛人数")
    private String comNumber;

    /** 负责人 */
    @Excel(name = "负责人")
    private String comUser;

    /** 职称 */
    @Excel(name = "职称")
    private String comTitle;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date comStart;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date comEnd;

    /** 总经费（万元） */
    @Excel(name = "总经费", readConverterExp = "万=元")
    private Long comFunds;

    /** 层次 */
    @Excel(name = "层次")
    private String comRank;

    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setComName(String comName) 
    {
        this.comName = comName;
    }

    public String getComName() 
    {
        return comName;
    }
    public void setComNumber(String comNumber) 
    {
        this.comNumber = comNumber;
    }

    public String getComNumber() 
    {
        return comNumber;
    }
    public void setComUser(String comUser) 
    {
        this.comUser = comUser;
    }

    public String getComUser() 
    {
        return comUser;
    }
    public void setComTitle(String comTitle) 
    {
        this.comTitle = comTitle;
    }

    public String getComTitle() 
    {
        return comTitle;
    }
    public void setComStart(Date comStart) 
    {
        this.comStart = comStart;
    }

    public Date getComStart() 
    {
        return comStart;
    }
    public void setComEnd(Date comEnd) 
    {
        this.comEnd = comEnd;
    }

    public Date getComEnd() 
    {
        return comEnd;
    }
    public void setComFunds(Long comFunds) 
    {
        this.comFunds = comFunds;
    }

    public Long getComFunds() 
    {
        return comFunds;
    }
    public void setComRank(String comRank) 
    {
        this.comRank = comRank;
    }

    public String getComRank() 
    {
        return comRank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("comId", getComId())
            .append("comName", getComName())
            .append("comNumber", getComNumber())
            .append("comUser", getComUser())
            .append("comTitle", getComTitle())
            .append("comStart", getComStart())
            .append("comEnd", getComEnd())
            .append("comFunds", getComFunds())
            .append("comRank", getComRank())
            .toString();
    }
}
